package com.zto.design.command.lightdemo;

/**
 * @program: sch-diy-parent
 * @description: 电灯--相当于接收者
 *               有打开、和关闭操作
 * @author: sch
 * @create: 2020-11-28 23:36
 **/
public class Light {
    public void turnOnLight() {
        System.out.println("打开电灯...");
    }
    public void turnOffLight() {
        System.out.println("关闭电灯电灯...");
    }
}
